import React from 'react';
import ReactDOM from 'react-dom';
import './index.css';
import App from './App';
import reportWebVitals from './reportWebVitals';



//1.引入全局的样式
import "./styles/index.scss"
//2.引入antd ui库 全局的css
import 'antd/dist/antd.css';

//3.mobx
import { Provider } from 'mobx-react';
import { store } from './mobx/store';

//4.reduxreact-redux
import {Provider as ReduxProvider} from 'react-redux'
import reduxstore from './redux/store'


console.log('react的主入口文件');

ReactDOM.render(
  <ReduxProvider store={reduxstore}>
<Provider {...store}>
<App />
</Provider>
  </ReduxProvider>,

   
  document.getElementById('root')
);

// If you want to start measuring performance in your app, pass a function
// to log results (for example: reportWebVitals(console.log))
// or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals
reportWebVitals();
